//-----------------------------------------------------------------------
// <copyright file="FontDialogActionResult.cs" company="None">
//     (c) 2015 IIHOSHI Yoshinori
// </copyright>
//-----------------------------------------------------------------------

namespace ThScoreFileConverter.Actions
{
    using SysDraw = System.Drawing;

    /// <summary>
    /// Represents a result of <see cref="FontDialogAction"/>.
    /// </summary>
    public sealed class FontDialogActionResult
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="FontDialogActionResult"/> class.
        /// </summary>
        /// <param name="font">A font.</param>
        /// <param name="color">A color.</param>
        public FontDialogActionResult(SysDraw.Font font, SysDraw.Color color)
        {
            this.Font = font;
            this.Color = color;
        }

        /// <summary>
        /// Gets the font selected by <see cref="FontDialogAction"/>.
        /// </summary>
        public SysDraw.Font Font { get; private set; }

        /// <summary>
        /// Gets the color selected by <see cref="FontDialogAction"/>.
        /// </summary>
        public SysDraw.Color Color { get; private set; }
    }
}
